package com.fary.aop.framework.adapter;

import com.fary.aop.Advisor;
import com.fary.core.SpringException;
import org.aopalliance.intercept.MethodInterceptor;

public interface AdvisorAdapterRegistry {

	Advisor wrap(Object advice) throws SpringException;

	MethodInterceptor[] getInterceptors(Advisor advisor) throws SpringException;

	void registerAdvisorAdapter(AdvisorAdapter adapter);

}